Carbon


DurationToAbsolute

Header: Multiprocessing.h Carbon status: Supported

Converts time from units of type Duration to units of type AbsoluteTime.

AbsoluteTime DurationToAbsolute (
    Duration duration
);
Parameter descriptions
duration

A value of type Duration that you want to convert to type AbsoluteTime.

function result

A value of type AbsoluteTime which is the converted time.

DISCUSSION

This function is identical to the DurationToAbsolute function found in the Driver Services Library.

Also see the function AbsoluteToDuration.

VERSION NOTES

Available in the Multiprocessing Services library with version 2.0.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.6 or later.


© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)